﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OOP.IOC.lib.Enums;

namespace OOP.IOC.lib.Attr
{
    [AttributeUsage(AttributeTargets.Class)]
    public class DbSourceAttribute : Attribute
    {
        public string DbName { get; set; }
        public ProtocalType Protocal {  get; set; }

        public DbSourceAttribute(string dbName, ProtocalType protocalType)
        {
            DbName = dbName;
            Protocal = protocalType;
        }
    }
}
